/*  Submits nalle to the server. */

/* Flag that indicates that nalle has been submited */
var NalleSubmited = false;

function submitNalle(frame, widget, event, options) {
    if (NalleSubmited)
        return;
    NalleSubmited = true;
    /* Show wait message in stonga */
    showWaitMsg();
    document.NalleForm.dzFrame.value=frame;
    document.NalleForm.dzWidget.value=widget;
    document.NalleForm.dzEvent.value=event;
    document.NalleForm.dzOptions.value=options;
    document.NalleForm.submit();
}
